package com.qxbb.report.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.qxbb.report.utils.CustomDoubleSerialize;
import lombok.Builder;
import lombok.Data;

/**
 * @version 1.0
 * @author: pebble
 * @data 2023/10/12 13:12
 */
@Data
@Builder
public class HeadQuartersOrdersVO {

    /**
     * 连锁店名称
     */
    private String chainName;

    /**
     * 净销量（非数据库）
     */
    private Integer netSales;


    /**
     * 净销售额
     */
    @JsonSerialize(using = CustomDoubleSerialize.class)
    private Double netAmount;

    /**
     * 千禧净售额
     */
    @JsonSerialize(using = CustomDoubleSerialize.class)
    private Double qxNetAmount;

    /**
     * 千禧占比
     */
    private String percentage;


    /**
     * 现金
     */
    @JsonSerialize(using = CustomDoubleSerialize.class)
    private Double cashAmount;

    /**
     * 预存款消费
     */
    @JsonSerialize(using = CustomDoubleSerialize.class)
    private Double chainPrepaidAmount;


    /**
     * 总售成本
     */
    @JsonSerialize(using = CustomDoubleSerialize.class)
    private Double totalCost;


    /**
     * 净销售利润 (c - d - e -f -g )
     */
    @JsonSerialize(using = CustomDoubleSerialize.class)
    private Double netSalesProfit;


}
